package com.better.backend.dataComputingService.model.stuScore;

import com.better.common.mongo.model.BaseModel;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Collections;
import java.util.List;

/**
 * 成绩个人分析
 * 一个班级一次考试，所有学生总分，各科总分以及排名信息。计算完之后的数据
 * Created by Administrator on 2017/11/14.
 */
//@Document(collection="examStudentScore")
public class ExamStudentScoreCalModel extends BaseModel {
    private String examId;
    private String examName;
    private String examType;
    private String gradeId;        // 年级id
    private String gradeName; //年纪名称
    private String schoolId;        // 学校id
    private String schoolName; //学校名称
    private String classId;//班级id
    private String className;//班级name
    private List<StudentScoreCalModel> studentScoreList;

    public String getExamId() {
        return examId;
    }

    public void setExamId(String examId) {
        this.examId = examId;
    }

    public String getExamName() {
        return examName;
    }

    public void setExamName(String examName) {
        this.examName = examName;
    }

    public String getExamType() {
        return examType;
    }

    public void setExamType(String examType) {
        this.examType = examType;
    }

    public String getGradeId() {
        return gradeId;
    }

    public void setGradeId(String gradeId) {
        this.gradeId = gradeId;
    }

    public String getGradeName() {
        return gradeName;
    }

    public void setGradeName(String gradeName) {
        this.gradeName = gradeName;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<StudentScoreCalModel> getStudentScoreList() {
        return studentScoreList;
    }

    public void setStudentScoreList(List<StudentScoreCalModel> studentScoreList) {
        this.studentScoreList = studentScoreList;
    }

    @Override
    public String toString() {
        return "ExamStudentScore{" +
                "examId='" + examId + '\'' +
                ", examName='" + examName + '\'' +
                ", examType='" + examType + '\'' +
                ", gradeId='" + gradeId + '\'' +
                ", gradeName='" + gradeName + '\'' +
                ", schoolId='" + schoolId + '\'' +
                ", schoolName='" + schoolName + '\'' +
                ", classId='" + classId + '\'' +
                ", className='" + className + '\'' +
                ", studentScoreList=" + studentScoreList +
                '}';
    }
}
